package com.pig.service.recipes;

import com.pig.pojo.recipes.Recipes;
import com.pig.util.PageObject;


public interface RecipesService {
    PageObject<Recipes> findObject(String username, Integer pageCurrent);
    Recipes findObjectById(Integer id);

    void AddRecipes(Recipes recipes);

    PageObject findObjectPage(String title, Integer pageCurrent);

    void deleteById(Long recipesId);

    void UpdateRecipes(Recipes recipes);
}
